#include "tcp_client.hpp"
#include <pthread.h>

// ./tcp_client server_ip server_port
int main(int argc, char* argv[])
{
  if (argc != 3){
    std::cout << "Usage: " << argv[0] << " server_ip server_port" << std::endl;
    return 1;
  }
  TcpClient* tclt = new TcpClient(argv[1], atoi(argv[2]));

  tclt->TcpClientInit();
  tclt->TcpClientStart();

  delete tclt;

  return 0;
}
